<?php

namespace app\admin\validate;
use think\Validate;

class Push extends Validate
{
    protected $rule = [
        'content'      	=> 'require|min:6|max:100',
    ];

    protected $message = [
        'content.require'   => '推送内容不能为空',
        'content.min'       => '推送内容不能小于6个字',
        'content.max'       => '推送内容不能大于255个字',
    ];
}
